First Working Version

Changed the failure limit to a customizable variable, entered code to
treat an empty connection status properly, added commands to swap hosts
files.