Added better error handling with mechanize's submit()