Improved draw_stat() function; added comments support for property post_type; moved localize_script which prints global wpp object to javascript to late callable functions - it allows to set additional specific variables