Fixed some minor errors & agv will now call the leave method when they'r...

...e at a platform