Extended level editor grid to full screen; fixed int rounding errors; general refactoring