More commands for window management
Squash some warnings
Fix to work with newer rust revision