Minor cleanup and one minor fix

- Panning was ignoring the first frame of movement; this (very small) discrepancy is fixed
- Add and re-word comments
- Shed some whitespace