minor fixes to source file

removed stray 'dbg' method, fixed a few white space issues (file is now all-tabs)