Changed the SimulationResource to accept UserPrefs.
Bug fixed: UserPreferences' XML is read as a InputStream.