Tightened bitwise logic checks. Max lines in textview now set to 50. Pretty much release ready.