changes for OS X

changed some layouts to grids for intended os x behaviour
fixed FFMPEG for os x