More 14-bit controller work: New timing functions and fixes.