fixed various issues with third party plugins. removed unnecessary code from theme.