cleaned up some compiler warnings and swapped event callbacks to a receiver interface