Replaced with OutBuffer with a simple string buffer. Furthered decompilation. Added function to remove pointless assignments in scripts.
Started implementation of removal of unused local vars.