Add read-only package editor view
Fix crash
Support 0.14-style "type"/"type alias" instead of "data"/"type"