Improved style value checking;
Box is now BoxEventHandler.