clean up smushChar logic, and debug comments