Fixed bugs in FSM.
Reimplemented ByteArray class.
Added SafeFormat class.