Removed some unused code which caused the client settings screen no longer to work on windows