Tons of new fixes.

Including, but not limited to, the removal of the "using namspace" calls.