Mac: added extra delegate methods, finished translation to autolayout