adding script to generate test data
fix undefined var checks, dont render templates on post
fix undefined var errors, fix visibible stub
fix template: display hidden stuff in sidebar too