Cleaned up some code and changed version number.