It seems like it's too early in the startup process to call Editor.getCloseBrackets() to get the preference. This seems to work, but I think it's dependent on the order that modules get loaded. To be safer, initializing the checkmark should be done in _init() which is not called until the AppInit.htmlReady() event is fired.