New ClientControl options

Added new ClientControl options, WindowsBase class, WindowBar improved for handling application and client role, numerous edits