safe getattr of PyGUIThread
failover on raw_input() if GUI thread is not present at finalSetup or if new PyOS_InputHook based mechanism is being used
Merge pull request #381 from ndawe/wait

rootwait: failover on raw_input if no PyGUIThread