Renderthread hang issue fixed. Rudimentary GUI started.