Switched all code to NioBuffer, CC shell works