adding docs, fixing problems with wxmenu and window size, fixing preferences ...