Fix black screen when transfer to monitor

Maybe we should have a queue instead of having two monitor objects:
var queue = [];
// Put value on end of queue
queue.push(monitor);
// Take first value from queue
var monitor = queue.shift();