Trigger view.kill() on window unload (Issue#118)