Created NativeMethods in RainmeterAPI

Comments fixes
Saving history by exit