Added some comments for clarity.
First attempt at Idle Avoidance
Testing .ini file. REMOVE THIS COMMIT.
Added code for avoiding Idle Kicks. Fixed problems with hang protection.