changes to rendering, postitioning, width and height, uipBase and some bugfixes