Added a few more colours for statuses; restructured appearance of tickets; various other refactoring of code