Some work on flags.
Kill WindowManager::SharedPtr and friends.
Make -R work.