Implemented some GUI-functionality.