Don't unset static variables.
Remove rogue echo.
Fix viewPage.