Fixed the closest location calculation in determineBestTradeRoute. The algorithm was incorrectly selecting routes in some cases - now properly considers distance when ranking trade options.

Improved the trade routes table display with better formatting and additional columns. Empty trade routes are now automatically deleted from the database to prevent clutter.

Added logging improvements for better debugging of trade route selection.