add initial theme support. but there's  a segfault for now