Fixed a couple of bugs.
1. If you tried to run an old sim file the targetadapter was not found so it would not run. I changed it to default to 0.
2. If you tried run an old sim that had a motor velocity in it then it would no longer run because I changed the velocity param to Equation. Fixed it so it checks for this condition now.