added version number. Other fixes and stuff.