Fix gui.StyleHelper failing on missing referenced styles or missing default styles

Fixes #192