Reference counter now releases its own resources (oh the irony). Graphics manager now pops up a window.