Made the code debuggable. Code style and improved documentation.
Enabled config.floatSpacePreferRight for any geometry of the editor, viewport and the panel.