now uses a config for window borders