Removed debug dialogue, updated UML diagram.