regex to check console writing instead of multiple ORs
bug fix on changing console max chars
added interrupt to console writing on stop process