Add view overlay and alpha backport logic. Some code clean up