changed event loop from polling with 10 second wait, to registering for event notifications and using blocking. also resolved continuous exceptions being thrown by racob. changed logfile parameter to optional, and accepts an array of logfiles to watch, defaulting to application, security, and system