increase displayed log size
some c to c++ changes
changed parameter names and moved rendering threads into class