moved important globals further up, changed connect to reconnect for sakis, also changed to use three.co.uk