starting with preferences window