Got a lot of stuff fixed. Music, screen switching, illumination system, etc.
Still have some bugs with pathfinding, but I'll try to work them out.