controller now asks gui for current values of weight and directed rather than storing them