Slight code cleanup

Updated license info, did small cleanup (and spell check), commented out some code blocks to be removed later after a debug and test session