bugfixed mac default menu on other OSs
Window state preservation tweaks
DEB packaging works