Added better handling of music and prelim routines stuff.