LOADUI-795 Fixed problem when drag-dropping scenarios into agents
LOADUI-795 Formatted code nicely, removed some unused methods, let IntelliJ simplify some boolean expressions