issue #772 reworked UI so it works on Mac