Remove cruft from source

Old TODOs, obsolete code, etc. removed.