improved GUI

Some refactoring.
Added category colours, context colours.
Added CSS support.
Add parser for description.
Beautify GUI components