Switched back to dynamic memory for status variable.
Switched from pthread exit to return to prevent pthread_cleanup_pop from being called in the event of a normal termination event via hook_disable.
Moved accessibility API check out of the hook thread proc and into its own function that is part of the input helper.