improvements in lua library
demofile for firered