Implement movsphere.
Flesh out some TODOs, and trim some dead code.