Cleanup and simplification in the taskmanager and the local instances and mini cluster.
Fixed log levels, code cleanups and restore the thread interruption states for JobManager and TaskManager