enable wp, fix an issue with the error message
Changes made by Vladimir Zagorski (vlao85@gmail.com).
Merge pull request #9 from iceniumsamples/master

enable wp8, style fixes