Refactor: extracted the TransferIn & TransferOut methods.
Added the config window.
Fixed issue with highlighting not working when balancing resources.