If you just want to show an image you can make it much simpler. This is the code from my persona window.
OnShow="MainPage.FindClass.Press=true"
...
<Button Name="FindClass" OnPress="Parent.ClassBackdrop.Style="/Profit.ClassBackdrops." ## Parent.Class.LocalText" />