fixed issue with cross domain errors
added new views
added debug stuff
Merge pull request #48 from thequbit/master

fixed cross domain issues.