3.0 wip

commit: 22892b3d453799b8ee0f98b6e35debae6edaba29
Fixs reboots and freezes (freezes in sleep still)