Rev 0.3.1

Some code fixing.
Changed to kernel 3.12.0