Cleaned up files, deleted superfluous commented code, removed post-failure retilting routine