line ending conversion to unix. tab to blankspace conversion.
line ending conversion to unix. tab to blankspace conversion. fixed spelling errors in code comments.
cleanup: line ending conversion to unix. tabs-to-blankspace conversion. removed closing PHP tags where applicable.
added condition to prevent direct script access.
Merge pull request #148 from ucsflibtopfstedt/master

script cleanup