simplified api a little, added iPad support (via popover), updated demo project