changed main layouts to border
fixed problem with DetailWindowTable