Improved error handling in getRandomFromArray.  Made non options generated rooms not generate empty rooms.  Returning out of getBranch before calling random decision.