Prevented reentrancy in rendering method
Added option to open arbitrary file in WinRT demo app