Hello, as much as I love these changes I don't think I will be able to understand much of the code.
I myself is planning to add game over screen in this upcoming update.
I don't think randomly spawning enemy is a good idea since it's about progressing and finding new enemies on each level. I truly appreciate you are modding it for more replayablity for others.
I was experimenting with path finding solution for Assassin which did not go quite well so he is scrapped for other enemy.