Added option to disable browser previews, better "badchar" managing
theme update
removed CWG_PATH in favour of CWG_BASE_DIR