fix a spelling mistake: loadimage -> xloadimage