Thanks, that was it.. Its amazing how I could miss it after reading through the code so many times..

One more quick question, is it possible to clear a single line of an lcd display, or atleast fill it with blank characters?