Fixed bug causing the menu entries to always appear after "Properties".
Fixed bug causing the entries in a submenu appear in reverse order on Windows