Fixed various bugs. Added a new example: logo