Added methods to message queue
Plugged in the message queue
Now message queue is able to handle window resize situations