Build related parts for new UI

Not sure I get the division between this separate ``compile`` and the other tasks in the list? Why not have the tasks in the list decide what gets executed when the button is invoked?