Fixed blocking getch. Works with a number of test programs now