fixed bug where save failed when front-end wrote HTTP headers in parts
removed unused minification code