added Xdefaults
minor changes