Adds visibility annotations

Two dialects were missing their visibility annotations.
This went un-noticed because visibility defaults were previously
not implemented correctly.
Parser no longer loops when class omits closing }.

Also adds a check (copied from the mwh fork) that the first line is
of the program is not indented.