Changed to work on Linux

No longer relies on win32event, but has less detail. still needs some
things fixed