added global alert function and status message for the user (still needs function)
improved ui