Fixed unused variables. Attempted fix at docking speed
Merge branch 'MikeyBranch' into development