Fixed error page, index and made development mode the default.