Cleanup of Interface and Layout.