Removed some single-instance commons and #if 0'ed code.

Commons that are only referenced in one place can be replaced
with allocatables.