Added game, edit and node modes to editor