Some work on lua components. Incomplete, but getting there.