Added autoclear function and listing of ports. Updated the version to 0.2