gen-dot cleanups
toplev: cleanups, remove unneeded code