MEDIUM: Prevented possible deadlock caused by "synchronized". We now
only guarantee that everything is run within the EDT.
MEDIUM: Prevented reset source code for read-only props
LOW: Removed unnecessary annotation
MEDIUM: Fixed methods getApplication and getSession. By writing them in
the template, we prevent mistakes made in the DM editor from impacting
the method