Added definition of x event types. Add ico.
Added Box support. Done initialization of widgets settings. Cleaning.