Fix empty story render
Improve var_locking

- Config stuff holds var_lock from the get-go
- Properly lock on Tag creation (alltags)
- Var funcs don't lock read and then lock write anymore