fix missing library
fix window manager should make a deep copy of the configuration