added major stuff (pasting and window management)