Update program_state.html

Updated notes
Update functions.html
Update files.html
Update files.html
Merge pull request #1 from wjvandenbergh/master

Updated Program States, Functions, Files section
Going to review and fix in mainline because Johan isn't here.