added popover for commands
updates based on beta 5 fixes
fixed compile issues with latest swift release