strong_pullup function name typo corrected. Some pointer errors fixed in input routines