moved UI setup code into one method - solved header flashing issue
moved parse initialization into application file to fix errors, other cleanup with Crusha