delete the top level protocol actor at main thread
use nsRefptr instead of scoped_refptr
Bug 987529 - integrate refresh driver into vsync dispatcher
add software vsync timer support