Updated main.lua to preserve title appropriately and safely use title, width, and height. Updated README optional arguments