Added separate applications for locked and unlocked state
Revert "Make tortoisedoc happy"

This reverts commit 05199da7f5730ad13a90d4f56e879fd2aa3cf8a8.
Uitukka