Update main.lua

~ setup display on application start from config
~ add missing config values to local config