Fixed MaxZ

MaxZ works better, the grid only disables the grid, not the header and
footer, and the state machine docs are all messed up and need fixing -
Also the WUI docs... Alright.