We must not destroy the compositor object if there is still a console using the GL context. Otherwise we get a SEGFAULT when calling any gl* function. In future we may need propoper dependencies here. We use reference counts so this should be easy to implement. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>