Rearranged code order in OmniMenu(), and fixed a small bug to let top menu work again.
Use getsel() to get selecting result in top menu.