Added Fixes for New Tab Issues, Added Minor Optimizations