More cleanup

Three more cleanups that deal with the nFields bug (how did this ever work? nuts!) and remove the crude hack to hardcode my battery capacity (and instead now stores the vehicles data in the database and parses it in visualize.js