I decided to create a frameless window library for my node-webkit application. see screenshot. Viewport Sidebar and contents is all left to do for basic application. All titlebar bar buttons can be placed on left or right, add menus and other nice stuff for making nodewebkit a best tool for a project.

Main Window view

Menus Clicked

When maximized, it centers the window and adds offset of 20Px on each sides.

When Fullscreen