Changed TagRemoved from Case class to object
Log errors
frontend: Move getting highest priority tag to function