implemented rudimentary handling for opening facs.
Merged conflict in mandoku.py