some fixes and tunes:
added margin to message_box
changed message "object locked" from message log to message box
fixed wrong message when closing closed object