Created a BufferMonitor thread object and moved some code from
BufferService to it.