added app delegate checks for active user when relaying local notifications for region monitoring. other misc code.