Update main.cs

Queue for responses, manual control, code clean-up