add panel icon, dialogue is replaced by a frame
Removed warning when closing a window adding pearl