fixed bbo bone issue, sound stopping issue and added some new lua functions