Many fixes & improvements to vehicle code, thanks to Melanosuchus