Some bugfixes. Start edit mode.