Improved Console Buffer Length