Added Error Handling and Idle Army Building

Added Error Handling and Idle Army Building