Database: Fixed SQL bug
RankLogic: Added name validity check
VehicleLogic: doSave now checks field validity