Fixed errors in Storyline Class

Fixed errors and debugged Storyline Class