Few small enhancements in processor code