Event polling + key tables for Win32 and Unix in place