Update form GUI to use 'flex' layout