Fixed the domain exceptions, splitting the existing resources into UI and domain dedicated resources. Fixed report deleting functionality. Fixed file names in history. Changed redirections after editing/adding reports. Fixed encoding problems on resources.