Fixed some view and character encoding issues