added basic handling of bleeps and refresh functionality