revert renderer singleton; RAII for Image class; Image.loadFromStream