Add UI for contracts compiler, logging enhancements and tweaks