seperated ui-renderer.[ch] from renderer.[ch]