Updated MVC and fixed some minor bugs.