Some changes to debug interface, some cosmetic changes

Add display box for stack
Add indicator to LEM1802 that it's turned off
Merge remote-tracking branch 'origin/posix-shm-dev' into posix-shm-dev

Conflicts:
	core.h
	generic_clock.c
	sim.c
Fix problems caused by not testing merge