Fixed architecture main and GUI bug.