I updated my pull request, taking the comments of Anssi Hannula into account, and splitting patches as much as possible. Contact me if there is any trouble. -- Nicolas Martyanoff http://wandrian.net khaelin at gmail.com