Added log in tasks and fixed GUI