add basic block selection gui. needs cleaned up, but works