Increased signal argument limit to 5.
Added key modifiers to UI signals.