You can now flip coins,AKA the D2
Forgot 	var/sides = 2 

Oops.
Small tweak to coin flipping.

Last one,I swear.
HUD-Optimization bugfix, mobs with no clients will update their health
HUD image as well.
Code effeciency project:  Ore processing.

Before:  The stacker and processor used del(item) to get rid of the items causing /obj/movable/del() to spike up and cause fun amounts of lag.  Also we have seperate variables for if a certain ore type is selected in the processing machine and the cooking portion of process() uses a huge string of if()'s which check 8 or so variables and is terrible and probably a pain in the ass should someone decide to later add ore types and recipes.

After:  We just set item.loc = null when it goes in the stacker of processor and garbage collection takes care of it within a tick.  Those different variables for ore selection are now just one variable which is a bitfield, much easier to read, much easier to expand upon.
Runtime fix on spawned mobs with no minds/client.
Fixes #4589

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
Merge pull request #4590 from Mloc/bs12-magicalwindoors

Fixes #4589
Fix for #4589.
Merge pull request #4591 from Segrain/master

Smallfix.
Fix for #4592.
Merge pull request #4593 from Segrain/master

Smallfix.
Merge pull request #4580 from Jarcolr/master

Coin Flipping, AKA the D2
PDA NanoUI bugfix.

modes that update every 5 ticks won't require clicking the pda 5 times to get a UI window open.

We now check to see if a UI already exists if not we don't check
Merge pull request #4585 from Ccomp5950/hud-no-client

HUD-Optimization bugfix, mobs with no clients will update their health
Merge pull request #4594 from Ccomp5950/pda_fix

PDA NanoUI bugfix.
Merge pull request #4588 from Ccomp5950/ore_process_optimize

Code effeciency project:  Ore processing.