fixed dynamic values for pathfinder and movetogradual
Formatting and moving around stuff
Removed needless instantiation