Cleaning up - added proper ServiceBeacon state and messages, added error handling, and reduced background scan time for increased responsiveness