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.