Improving handling of IOBuffer and Queue; fixing available(), adding room().

1. New sandbox sketch for IOBuffer.
2. Removed modulo operation in available(). Should be "and".