Updated lib/main: Removed self invoking fn
Updated lib/main: Removed self invoking fn

Also removed global console patch (which moved to
lib/page in a previous commit)

jhermsmeier/zeugberg,jhermsmeier/zeugberg