Added some custom capture templates, enabled windmover, reorganized the code somewhat