Replace to foo->isa with object_getClass(foo)
Remove private category from PseudoTerminal, move comments into .m file
Fix a bunch of warnings