Cleaned up old cruft from swing algorithm code