Hook sanbox.

Beginnings of sandboxing. Still need to completely mask window.