Add handler in lua script for alert event
Add lua template file
Make it possible to cancel a tick callback, i.e. setTickCallback(nil)