Thanks for playing, yes time really prevented me from fixing some of those bugs (it should do both delete the tower and give you back the coins...)
This was my first time trying to use "Window" objects in Godot, not very pleased with the interface as the mouse focusing is problematic as is the mouse/touch passthrough - will probably just make my own class from scratch next time