Fixed xp io and display issues