dmilith: maybe it's the exit/close event stuff?