Added circle tool. Fixed some bugs with tools.