Removed debug table on main.php, fixed projects.php 500 bug