Fix a few crashes and fix an issue where the users list drawer could get locked closed on tablets