Refactor gui for cleaner setup
Currently has two things left to do:
- Add documentation to UI
- Fix double precision on the exported data