Refactoring share/gui files
Refactor GUI code

Code cleanup, delete unused code, add doc