Yes, there's definitely more UI code (roughly 20% of the total is engine code). But it's also a much, much easier code to write than the engine code which has to be threadsafe, has to perform no allocations as far as is possible, comes with various graph algorithms, etc