Rewrite Mac UI for better multiple site handling.