*fix for intdictionarytest not compiling
*made GameState.AllGameObjects  not return objects if they are null or disposed