added ads
fixed a little bug
added onpause status
fixed some bugs