Squashed commit of the following:

commit 9283b0d5430c3f67b17956a0d6ea06170efed2f5
Author: NameLess, the Jedi <yoddah@gmail.com>
Date:   Tue Mar 26 23:12:08 2013 +0100

    Fix the most stupid mistake ever

commit 950dfaf7d68c22d40c6fbb1d7de08b09fb596e06
Author: NameLess, the Jedi <yoddah@gmail.com>
Date:   Fri Mar 22 22:09:02 2013 +0100

    Clean up a bit

commit 910532f20e5aa6c8b98b9e83875abbb26059a7c1
Author: Robert Ramięga <yoddah@gmail.com>
Date:   Thu Feb 21 22:28:00 2013 +0100

    Restore sweep2wake after releasing wakelock. Hopefully this will further minimize possibility of touch screen freezes.

commit e830a93cff20b23156ff4694b31832c9bf4ba0c5
Author: Robert Ramięga <yoddah@gmail.com>
Date:   Tue Feb 19 23:08:35 2013 +0100

    Disable sweep2wake while calling.
    This works around problem of spurious touch events when sweep2wake is active and proxmity sensor turns screen off.