code linting

removed whitespace, debug text, obsolete comments