UI cleaning
Added PHP fatal handling