make printk a function and restore warning
move some other stdio uses to printl
more static
move into one file and start making static
make static everything not used by _lwp code
fix assert
clean up warnings
unused include
we do not need an idle thread, the init thread serves same purpose
merge setcurrentthread function into init_sched
split out file handling into its own file as independent
manual inline