base unit/building upgrade removing now works. also fixed msg/error popup function bug