Added GM check to getSelectedOwned
Table Functions added to API