Added base GUI code for blocks