I think is more correct but not tested

levelTitle & levelAuthor is never equals to null, if you want to know if levelTitle is null derefenrece the pointer. Is not me GCC say that.
Merge pull request #3 from tolbon/patch-3

I think is more correct but not tested