Comments and cleanup

cleaned up some useless lines, and added comments to the new coding.
Forgot to mention in the last commit that movement is completed and
ready to output to Temp for execution.