Bugfixes regarding selectable rows

- win_goto_top and friends now respect the selectable property of rows.
- Moved code to select a selectable row after window_set_contents to
  window_set_contents.
- Also some comment style fixes.

I'm also working on some cosmetic changes in the code. How do you feel about stdbool.h?