cocoa: more seekbar improvements; added window menu; added restoring mainwin after close