Added fullscreenMode, fixed image placement, added some preprocessor functions