A lightweight programming environment for desktop and mobile devices
on.initialize = function()
	App.mkdir(Directory)
	pcall(function()
		nativefs.mount(Legacy_directory, Directory)
	end)
	populate_missing_handlers()
	if Font_filename == nil then
		Font = love.graphics.newFont(Font_height)
	else
		Font = love.graphics.newFont(Font_filename, Font_height)
	end
	love.graphics.setFont(Font)
	Line_height = math.floor(Font_height*1.3)
	Line_number_padding = Line_number_width*Font:getWidth('m')
	Menu_left, Menu_top, Safe_width, Safe_height = love.window.getSafeArea()
	Menu_height = 5 + Line_height + 5
	Menu_bottom = Menu_top + Menu_height
	load_example_panes()
	load_panes_from_previous_session()
	if #Panes == 0 then
		table.insert(Panes, new_pane())
	end
	Current_pane_index = 1
	Current_pane = Panes[Current_pane_index]
end