Added more feature to demo MDI app