working input and cursor, need win to implement menu, win message, etc