Added autostart applications.
Added floating windows handling.