CHECK THIS (coded without refs): implemented unsigned long to string conversion for output + misc cleanup
cleanup
more cleanup