Update project.py

-Change 'pack' to 'grid'
-Solved some page setup problems
-Minor bugs fixed