MessagesLayer from local to global variable

"messages" is now accessible via, for example, console. Makes debugging easier :P