added std (std::) namespace to cout usage..
changed "char *" to "const char *"

added std:: to cerr usage..
cleaned up a bunch of places where I missed std:: for cerr & cout
removed the extra class qualification that isn't needed..
Lots of changes to finally make this work..