Closes #649, finalization now also checks if there is a current thread in addition to an Env. If neither a thread or Env are available, the object is re-registered for finalization.
Merge pull request #659 from badlogic/master

Fixes finalization error when current thread isn't fully initialized