Tasks now get removed when they are finished or have been stopped. Added the ability to open GUI screens. (These however have not yet been implemented.)