Code Reformat and Bug Fixes

Bug Fixes in at_navigation.php and pico_quiz.php.

All other files code re-indented/formatted/etc.