Rust mac UI wrappers and helpers