Added state system to LevelEditor GUI