Removed title bar and background, optimized code a little bit