Previously, the GUI logic of HackStudio was all stuffed into main(), and it started getting a bit out of hand :)