some cleanup and optimizations
small fix; limit the framerate
removed unused image