Remove unused files and fix movement bugs.