Register GUI improved and with more comments