Updated showWindow to handle integers properly (uint32, not int32)