Fixed document preview and module installer