Minor fixes regarding menu random ordering and py3 compatability