throw frame allocation behind a lock so it's atomic
Fix bad divide in premultiply
Fix some potential mapping issues
Don't forget to invalidate page directories after we free everything