Images will load but crashes with larger files and keyboard controls added