fixed some bugs in LireDemo

git-svn-id: http://lire.googlecode.com/svn/trunk@179 f280a053-6817-128d-8a7e-cdf98506035a
Merge remote-tracking branch 'upstream/master'