Added handling for 500 error pages whose output has exceeded the buffer size

Also removed the artifically high jsp buffer size due to performance
concerns