removed unused extern
added cpu efficient method of clearing lcd buffer