Added some comments to curses setup code.