(WIP) fixed error where player tries to access segments before they exist.
segment highlighting not working