Made boss spawner a bit more flexible. Fixed a bug when other types of bosses are used.