add beginning of filemenu, init, main, and user fixes.