Adding ICN
Adding events and improving error handling

Added console logging when the marker file fails to load. Added events.