Move options logic to Options.py.
Fix str2byte.
Use format instead of wrong used '%'.