remove senseless quiet option
clean up some variables names/types
prototypes don't need no stinking argument names
Change order of prototypes and functions