Disable sweep2wake while calling.
This works around problem of spurious touch events when sweep2wake is active and proxmity sensor turns screen off.
Restore sweep2wake after releasing wakelock. Hopefully this will further minimize possibility of touch screen freezes.
Clean up a bit
Fix the most stupid mistake ever