fix firmware version checking.
add an unhelpful error message for when avrdude doesn't work.