Removed print statement
Improved the log panel so double clicking a task changes the log tab. Also added log closing.