Delete unused symbol
Add missing implementation of get_font()
Fix some missing return values and other build errors
Put the UI in its own namespace