Conditional frames size setting, and compilation behavior

- Set the initial frame size only if in windows system
- Auto hide the compilation window only if the frame's width is smaller
  then ~160.