fixed applicationname in error messageboxes
added capture in window title