Refractored logging and used symbolic constant for veryhidden
Implemented initializing UI and removed PDF export (Unicode problems)