Fixing the need to add a dummy object at the end of the obj file.
object, group and material statements are now optional.