Fixes NPE when writing to disconnected client, Issue #2577
Fixes Issue #2576 NPE when calling ip() on disconnected clients.
Implements the active() method for Serial and Server (Issue #2364).
Prevent lerpColor from always rounding down
Use PApplet.round instead of Math.round
Fix the shortcut keybindings in editor tab popup menu

Signed-off-by: Umair <omerjerk@gmail.com>
Fix output in consoles
Fix sketch standard output in runner
The editor might be null
Replace catch-all exception handler in UpdateCheck
Refactor some constants in UpdateCheck
Cut and Copy in the edit menu are active only if some text is selected
Make 'contrib update' popup less obtrusive

And add examples-packages into the update check too
Remove unused Base.builtOnce instance variable
Fix renaming from RGB to Rgb.java and others
Add missing generic type parameters
Avoid boxing/unboxing when parsing primitive
Avoid inefficient use of new String(String)
Use valueOf factory method instead of constructor
Add missing static modifier to inner classes
Remove unused PresentMode.device instance variable