Don't try to close tab if it's not opened
Initial work on loading plugins in separate application domains. Disabled for now