Firefox pref access: qualifying global objects and adding exception logging.
Prompted by a user report (https://groups.google.com/forum/#!topic/markdown-here/ikXFqkP77Ws) of Firefox options access errors. Couldn't reproduce, so no idea if this fixes the problem.