Made some changes to allow windows to be mapped as floating as well as take is_transient