function show()
connect(g_app, { onClose = tryExit })
modules.client_background.terminate()
gameRootPanel:show()
gameRootPanel:focus()
gameMapPanel:followCreature(g_game.getLocalPlayer())
updateStretchShrink()
--logoutButton:setTooltip(tr('Logout'))
local name = g_game.getCharacterName()
g_window.setTitle(name .. ' - ' .. g_app.getName())
addEvent(function()
if not limitedZoom or g_game.isGM() then
gameMapPanel:setMaxZoomOut(513)
gameMapPanel:setLimitVisibleRange(false)
else
gameMapPanel:setMaxZoomOut(11)
gameMapPanel:setLimitVisibleRange(true)
end
end)
end