added new version of lanterna to get rid of the second threads