added code to support 3 types of texts: top, bottom & generic captions
enabled deleting texts
fixed bug with chrome not able to delete texts