Changed approach to an always on thread.  Hook function should probably be changed, and my overuse of static changed at some point.