many fixes for awkward things that people do, along with some fixes for things that shouldn't have needed fixing but got screwed up anyway, more headers added
fixed many many things that people could do terribly, added a debug switch (-d) and a quiet mode switch (-q)