Added a boolean to allow/block redirects for connectors.
Fixed some minor bugs causing problems in Release builds.