NodePlanet edit modes implemented. TODO: refactoring of mouse and key handlers.