Removed some uselesscode in scenemanager

Added safetycheck in eventloop to terminate program on failed initialize