Fixed possible small palette bug.

Added notes on what is happening in draw_string.