backend/commands/move: Clamp cursor pos to allowed positions.

Fixes #378
frontend/termbox: Last line line number + cursor. For #376