Fixed everything except a shutdown issue.