Moved menu into a more sensible place.
Moved legend into right position and made it actually update.