Replaced MjpegStreamCallback inheritance hierarchy with C++11 std::function instances
Minor formatting changes and renamed MjpegStreamCallback to WindowCallbacks
Removed extra ack string assignments and leveraged a way to avoid losing the socket list iterator when a socket is removed