Add a text block to show the number of printed line

Fix some bug:
	-when the windows is passed in large size, the elements of the UI goes to the right place
	-the log level counter show the correct number of log level