Add window slot to queue item type
Expose wgetch as a general case of getch(0)
Rename wgetch/1 to getch/1 in erlang API to respect existing convention.
whitespace + 2 tiny format tweaks