Fixed context missing guard bug, added context usage to docbrowser