Squashed commit of the following:

commit 843c48e3e4c24f8e351a63cd68bac76215087802
Author: CatCfrco <z82206.cat@gmail.com>
Date:   Tue May 14 17:52:46 2013 +0800

    seperate pfui -> pfui,pfimage,pfwindow
PfImage.view , window_templates