BU-95 overhaul of scripting engine to allow easier use from unrelated qtypes
NOBUG updates lua library