mostly finishes window.rs, need to resolve varargs, fill out method docs