Move open browser to after publish finished, also add support for remeber user's last browser choice.