Fixed a bug with userprefs and the Xmx arg