Io loop install cleanup

removed redundant `ioloop.install()` calls.
pep8 issues fixed.
`target` is an argument to `Thread` and should be indented.