Implementation of blockUI and layout changes.