Menu logic was extracted from context.
Balloon messages were added.
Handle connection errors.
Connection error handling was changed.