fix small issue with an error message from the gui, use boundingbox code from scenemanager instead of reinventing it
remove dead code from editor, instead reuse bounding box calculation from scenemanager