Moved input helper load/unload to the hook thread.