cleaned htaccess, error handling changes