Alternative temporary file generation.

Uses "mktemp" which takes care of permissions and collisions.
Minor code cleanup.

 * Made global variable all caps so they stand out.
 * Added documentation.
 * Added vim fold markers & modeline.
Split long line (>80 chars).
Added folds to the install script.
Folds and docs in install script.
Error message if OS not supported.
Merge branch 'master' into cleanup

Conflicts:
	bin/run
	install
Merge branch 'cleanup'