Applied small code optimizations
Add "Block profiles" option