Started to implement an immediate gui
Added reference implementation from recast