Refactoring. Improving UI.
Bugfix with inverted face normals.