converged tabs to spaces in inner; deleted a bunch of extra stuff in main; added author tribute in main.
finished with input key-value items; changed heading in theory manual so it oculd be referenced.