Clean up main.zsh. Move mac code to separate file.