Map is now only displayed when there is actually something loaded.
Added ready switch.