Prefix followed by prefix issue solved. Also some slight improvements.
Fix for
issue #291 - this check should probably be in ApplyDamage though
Disable loading content.html on startup, it is fetched on pushing to top of stack already.
increase land tex size to 512, which is the current minimum required just to load a hat. On my system max fps rose from 840 to 890 - about 6% change.
also a nil check, probably not needed.
Remove a bunch of unnecessary nil checks. FreeTexture does its own nil check.
Since I'm storing the text string anyway, might as well recreate captions on resize as well
oops. tex could expire, too...
Skip rerendering the caption if the text is unchanged. Scripts make heavy use of caption, often onGameTick