Logging fixes.
Removed excess debugging in games.js
Fixed loading errors due to angular not being initialized.