Finished get preview and more

Finished get preview;
Exception handling;
Put google analytics account to constants.