Added functions for frame drawing.
Added functions for showing and hiding the cursor.
Made line drawing functions faster.
Fixed bug in vertical line drawing.