Add -g -O1 to the opt flags
Fix typos in tbl_stardata syntax.  Define and declare filepos together in getplanet.  Use a transaction for the star commits