Fixed minor bug with remove_ref_to_vbo function, added delete_objects function to object manager