Reduce the frequency in which the main loop runs

Prior to the issue_Drequest refactoring, the main loop would wait for
network connections over the wire.  Currently, it runs and sleeps for
100 microseconds before starting over.  Refactor so it does less
checking each iteration and sleep longer before starting the next
iteration.
Merge pull request #13 from mattaezell/mainloop_cleanup

Reduce the frequency in which the main loop runs