Changed element retrieval of arrays returned by function calls to be compatible with PHP 5.3
Removed primary key attributes from SQL for association tables between open games and possible buttons/sets