Merge pull request #1 from arusakov/master

Frontend thread and logger