removed miplevels = 1 for wp8
check if windowInterface is not null
updated prject build settings