close splash screen differently on RP and Mac