adding in a global error catcher
dont need this now
adding more logging
trying for more testing
check mic status on pips page