Fixed brokenness in RunFlask. Weirdness is still happening.
Fixed weirdness. Turns out flask "reloads" the app in debug mode unless it's passed use_reloader=False.