Bump version to 0.4

State support introduced, thanks to Alfred Klomp.