revamped scene manager. more efficient