fixed up demos and added missing docs