added some bugfixes to functions file, widgets and shortcodes which
never made it into 1.1-pvac