some formatting tweaks in main.lua