Added separate class to display warnings from frames. Updated Frame
classes to call static method from class when a warning needs to be
displayed to the user.