Some initial check-ins of the updated UI

Apologies, the code is lacking even the semblance of adhering to any
coding conventions. There are also very few comments, I will come back
and tidy up. It DOES compile.