fixed bugs, updated settings, rewrited forms