g_free(priv->current_dir);
g_hash_table_destroy(priv->default_styles->text_buffer);
g_hash_table_destroy(priv->default_styles->text_grid);
g_hash_table_destroy(priv->current_styles->text_buffer);
g_hash_table_destroy(priv->current_styles->text_grid);
g_free(priv->current_dir);
g_hash_table_destroy(priv->default_styles->text_buffer);
g_hash_table_destroy(priv->default_styles->text_grid);
g_hash_table_destroy(priv->current_styles->text_buffer);
g_hash_table_destroy(priv->current_styles->text_grid);