Improved the documentation in the code and fixed a small bug in i3situation.py