Improve Lua startup/shutdown messages, betterise variable names