Added detection for full lines and removing of full lines