improves performance and makes the code cleaner
* add parameters instead of calling methods afterwards
* remove a a lot of size requests
* remove parameters that are being set to the default value
* simplify dialogs containers
apararently according to the log gcode was not defined in a macro, which should not be possible
this handles this cases by not loading the macro and dumping it in the console for debug analysis
this removes create_panel function from panels and mandates a class name Panel
remove panel_type param and only use a panel_name that is it's filename
remove load_panel dict
always reinit panel, (simpler and safer but slower)
This reduces the amount of magic numbers used, some images will scale to bigger sizes, most of the icons and images in vertical mode will be bigger, thumbnails should be bigger in both modes.
Use f-strings
Avoid unnecessary casts to str()bool()int()
Ensure file closure
Merge nested ifs
Simplify for-assigns-appends with comprehensions and internal functions
Avoid shadowing internal function names
Initialize variables
Return value directly instead of assign then return
Make some methods static
* screen/printer_select/splash_screen: Updates to allow changing between moonraker instances
* Updates to multiple printers
* settings: Display printer endpoints
* Update macros to be on a per-printer basis
* files: Changes to clear out file cache on printer switch
* job_status: Redo page for action bar
* splash_screen: Change icon
* websocket: Actually close the websocket
* printer: Fix error case
* splash_screen: show buttons update
* readme update