Finally finished the new UI engine

Finished UI engine, fixed a few bugs, time to fix bugs with the queen