bugs fixed in GetData. Refs: #63. As pointed out by Robert, the comment field must be tested for NIL before string assignment. Also, there should be an explicit check of entryno overflow because the fixed size history array may only be filled partially.
Signed-off-by: Josef Templ <josef.templ@gmail.com>