Editing address, default shipping & invoice can now be assigned.

- Further minor changes logging in.
- Better error handling.