Fixed pacman example. Software renderer doesn't exist anymore. Also the sig_close slot was not stored in a variable so it was not possible to close the app via close button.
Fixed infinite loop bugs in image/sprite resource loading and cursor description construction. They occur if inside the XML files something other than an element appears (e.g. normal text).
Merge pull request #40 from Pyrdacor/master

Fixed inifinite loop bugs and made pacman example work