Added further GUI things, to be able to compile a real pattern client.