Updated example web apps to use proper publishing for the cfg (multi-core JMM issue). Some comment and minor code fixes.