Added more examples and fixed minor bugs and glitches