tiny cleanup & refactors; new, consolidated TODO list in pseudocode.txt