Small modifications

Most importantly code that will make level editing smoother... though
the best implementation