Fixed Render Crash

Was being caused by the Level object going out of scope during the
LevelEditor's loadLevel method.

Also implemented conditions to stop the loadLevel method reading the
entire map file if it is larger than the level size specified at the
start of the file