Window Events + Taskbar Items Width

- window events added to options
- some parts to calculating taskbar items width