improved layer handling, add the beginnings of story modes