improve loading of png, bmp and large images (scale them to save memory in rendered canvas).
Use javafx provided extensions instead of harcoding them.