Fix mutability issues in window handles.
More mutability FFI fixes for upcoming changes.
Wrap most Surface functions.