Renamed page.php to index.php, fixed more silly bugs.