bugfixes; buttons; max-height option