fixed #23
improved comments, shifted code
updated code to follow standards
Merge pull request #79 from czardoz/master

Files in the virtualdocs folder are now randomized