Bug 1001853 - Don't loop waiting on the monitor, and acccount for the fact that timeouts are treated as success. r=jgilbert
Bug 1008787 - Clip plugin layers to the size layout expects since plugin surfaces get updated asynchronously. r=roc