Fixed NUL characters being rendered
Use longs where possible
Refactoring
Refactoring
Terminal multiplexer
Refactored to use Multiplexer